package work05;

public class StudentDemo {
    public static void main(String[] args) {
        Student s1=new Student();

        s1.setName("ybb");
        String name=s1.getName();
        System.out.println(name);

        s1.setAge(18);
        System.out.println(+s1.getAge());

        s1.eat();
        s1.speak();
        s1.hobby();
    }
}